<template>
    <div class="base">
       <ul>
        <li><strong>{{title}}</strong></li>
        <li>姓名：{{name}}</li>
          <li>年龄：{{age}}</li>
            <li>性别：{{sex}}</li>
       </ul>
    </div>
</template>

<script>
export default{
    // 组件名字
    name:'ZjutStudent',
    data:function(){
        return {
            title:'学生信息详情',
        }
    },
    props:['name','age','sex']
}
</script>

<style scoped>
.base{
    background-color: orange;
}
</style>
